package com.wave.wavesystem.develop.codeGenetrate.pojo.wrapper;

public class PathWrapper {

    public static String getEntityPath(String generatePath, String entityName) {
        return generatePath + "/pojo/entity/" + entityName + "Entity.java";
    }

    public static String getDTOPath(String generatePath, String entityName) {
        return generatePath + "/pojo/dto/" + entityName + "QueryRequest.java";
    }

    public static String getVOPath(String generatePath, String entityName) {
        return generatePath + "/pojo/vo/" + entityName + "VO.java";
    }

    public static String getMapperPath(String generatePath, String entityName) {
        return generatePath + "/mapper/" + entityName + "Mapper.java";
    }

    public static String getMapperXmlPath(String generatePath, String entityName) {
        return generatePath + "/mapper/" + entityName + "Mapper.xml";
    }

    public static String getServicePath(String generatePath, String entityName) {
        return generatePath + "/service/" + entityName + "Service.java";
    }

    public static String getServiceImplPath(String generatePath, String entityName) {
        return generatePath + "/service/impl/" + entityName + "ServiceImpl.java";
    }

    public static String getWrapperPath(String generatePath, String entityName) {
        return generatePath + "/wrapper/" + entityName + "Wrapper.java";
    }

    public static String getControllerPath(String generatePath, String entityName) {
        return generatePath + "/controller/" + entityName + "Controller.java";
    }

    public static String getApiPath(String generatePath, String humpName) {
        return generatePath + "/" + humpName + "/api/" + humpName + "Api.js";
    }

    public static String getViewPath(String generatePath, String humpName) {
        return generatePath + "/" + humpName + "/" + humpName + ".vue";
    }

    public static String getViewDetailPath(String generatePath, String humpName) {
        return generatePath + "/" + humpName + "/components/" + humpName+"Detail.vue";
    }

    public static String getViewRemovePath(String generatePath, String humpName) {
        return generatePath + "/" + humpName + "/components/" +humpName+ "Remove.vue";
    }

    public static String getViewSavePath(String generatePath, String humpName) {
        return generatePath + "/" + humpName + "/components/" +humpName+ "Save.vue";
    }

    public static String getViewSearchPath(String generatePath, String humpName) {
        return generatePath + "/" + humpName + "/components/" + humpName+"Search.vue";
    }

    public static String getViewTablePath(String generatePath, String humpName) {
        return generatePath + "/" + humpName + "/components/" + humpName+"Table.vue";
    }

    public static String getViewUpdatePath(String generatePath, String humpName) {
        return generatePath + "/" + humpName + "/components/" + humpName + "Update.vue";
    }

    public static String getViewActionBarPath(String generatePath, String humpName) {
        return generatePath + "/" + humpName + "/components/" + humpName + "ActionBar.vue";
    }

}
